import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;


public class ShipComparator implements Comparator<Ship> {

	@Override
	public int compare(Ship ship1, Ship ship2) {
		
		return ship1.getShipName().compareTo(ship2.getShipName());
	}
	
	

}
